{include file="public/header"}
<head>
    <meta charset="utf-8">
    <title>基本信息</title>
    <link rel="stylesheet" type="text/css" href="__CSS__/tt.css"/>
    <style media="screen">
        html body {
            margin: 0;
            padding:0;
            background-color: #EEEEEE;
            width: 100%;
            height: 100%;
            font-size: 14px;
            color: #333333;
            font-weight: 500;
        }
        .flex-wrap{ display: -webkit-box;	display:box;display: -webkit-flex;	display: flex; }
        .flex-con{  -webkit-box-flex: 1;     -webkit-flex: 1;    flex: 1;}
        .flex-vertical{  -webkit-box-horizontal: vertical;-webkit-flex-flow: column; flex-flow: column;}

        .color333 {
            font-size: 14px;
            color: #333;
            font-weight: normal;
        }

        .content {
            width: 1200px;
            margin: 30px auto;
            background-color: #fff;
            border-radius: 3px;
        }

        .base1 {
            height: 20px;
            background-color: #fff;
            margin-left: 30px;
        }
        .base {
            height: 20px;
            line-height: 20px;
            background-color: #fff;
            margin-left: 30px;
            text-align: left;
            border-left: 3px solid #0065F0;
            color: #000;
            font-weight: bold;
            font-size: 15px;
        }


        .info{
            /*height: 100%;*/
            background-color: #fff;
            margin-left: 40px;
            margin-top: 10px;
            padding-bottom: 57px;
            /*border: 1px solid red;*/
        }
        .item{
            margin-bottom: 10px;
        }
        .item_left{
            margin-right: 50px;
            height:30px;
            line-height: 30px;
            float: left;
            width:auto;
        }

        .wrap1 .content1 {
            margin: 0 auto;
            width: 1200px;
            font-size: 12px;
            color: #ffffff;
            /*position: relative;*/
            display: flex;
        }


        .content2_left span {
            display: inline-block;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #0065F0;
            vertical-align: middle;
            margin-right: 11px;
        }

        .content_right img {
            display: inline-block;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            margin-right: 20px;
            vertical-align: middle;
        }

        .wrap3 {
            line-height: 60px;
            width: 100%;
            height: 60px;
            background: #0065F0;
        }

        .content3 {
            margin: auto;
            width: 1200px;
            display: flex;
        }

        .content3-left {
            line-height: 60px;
            color: #ffffff;
            font-size: 16px;
        }




        table{
            width:100%;
            padding-left:30px;
            padding-right:30px;
            text-align:left;
            border-spacing:0;
            color:#666666;
            font-size:12px;
        }

        th{
            max-width:50px;
            height:50px;
            line-height:20px;
            background-color:#F7F7F7;
            word-wrap:break-word;
            /*padding-left: 2px;*/
            /*padding-right: 2px;*/
        }
        th:nth-child(1){
            padding-left:30px;
        }
        th:nth-child(13){
            max-width:90px;
        }

        td{
            max-width:50px;
            height:50px;
            line-height:20px;
            border-bottom:1px solid #E9E9E9;
            word-wrap:break-word;
        }
        td:nth-child(1){
            padding-left:30px;
        }

        td:nth-child(13){
            max-width:90px;
        }
    </style>
</head>

<body>
<div class="wrap3">
    <div class="content3">
        <div class="content3-left">
            任务管理 > 详情
        </div>
    </div>
</div>
<div class="content">
    <div class="base1"></div>
    <div class="base">&nbsp;&nbsp;卡券信息</div>
    <div class="info">
        <div class="item">
            <div class="item_left">优惠券名称：{$data.coupon_name}</div>
            <div class="item_left">面额：{$data.coupon_money}</div>
            <div class="item_left">兑换金币：{$data.coupon_price}</div>
            <div class="item_left">总数：{$data.coupon_num}</div>
            <div class="item_left">已领取：{$data.coupon_get_num}</div>
            <div class="item_left">已核销：{$data.coupon_use_num}</div>
            <div class="item_left">领取有效期：{$data.coupon_start} / {$data.coupon_end}</div>
            <div class="item_left">领取使用期限：{$data.coupon_use_day} 天</div>
            <div class="item_left">
                状态：
                {if $data.coupon_status==1}上架{/if}
                {if $data.coupon_status==2}已到期{/if}
                {if $data.coupon_status==3}下架{/if}天
            </div>
        </div>
    </div>
    <div style="clear: both;margin-top: 20px"></div>
    <div class="base">&nbsp;&nbsp;领取信息</div>
    <div style="clear: both;margin-top: 20px"></div>
    <!---->
    <div class="box1" style="width: 100%;overflow-x: scroll;">
        <table style="width: 100%;overflow-x: scroll;">
            <tr>
                <th>序号</th>
                <th>券码</th>
                <th>二维码图</th>
                <th>是否赠送</th>
                <th>领取用户</th>
                <th>领取时间</th>
                <th>好友名称</th>
                <th>好友手机号</th>
                <th>赠送时间</th>
                <th>好友领取状态</th>
                <th>领取时间</th>
                <th>退还时间</th>
            </tr>
            {if $data2}
            {foreach name="data2" item="vo"}
            <tr>
                <td>{++$key}</td>
                <td>{$vo.mc_code}</td>
                <td>{if $vo.mc_ercode}<img src="{$vo.mc_ercode}" class="tupain" width="50" height="50" />{else /}无{/if}</td>
                <td>
                    {if $vo.mc_send == 1}否{/if}
                    {if $vo.mc_send == 1}是{/if}
                </td>
                <td>{$vo.user_username}</td>
                <td>{$vo.mc_time}</td>
                <td>{$vo.user_username2 ?: '-'}</td>
                <td>{$vo.user_phone2 ?: '-'}</td>
                <td>{$vo.mc_send_time ?: '-'}</td>
                <td>
                    {if $vo.mc_send_status == 1}-{/if}
                    {if $vo.mc_send_status == 2}待领取{/if}
                    {if $vo.mc_send_status == 3}已领取{/if}
                    {if $vo.mc_send_status == 4}已退还{/if}
                </td>
                <td>
                    {if $vo.mc_send_status == 3}
                    {$vo.mc_take_time}
                    {else /}
                    -
                    {/if}
                </td>
                <td>
                    {if $vo.mc_send_status == 4}
                    {$vo.mc_take_time}
                    {else /}
                    -
                    {/if}
                </td>
            </tr>
            {/foreach}
            {else/}
            <tr>
                <td colspan="13" style="text-align: center;">暂无人领取 ！</span></td>
            </tr>
            {/if}

        </table>
    </div>
    <!---->
    <div style="width: 100%;height: 100px;"></div>
</div>

</body>
{include file="public/footer"}